part of 'use_case.dart';

class KnownLexicalItemSelectionCompletionResult extends Equatable {
  const KnownLexicalItemSelectionCompletionResult({
    required this.collection,
    required this.collectionLexicalItems,
    required this.collectionRepetitionProgresses,
    required this.unspecifiedLexicalItemExists,
    required this.lexicalItemMap,
    required this.knownLexicalItemSelectionPermitted,
    required this.lexicalItemAdditionPermitted,
    required this.permittedLexicalItemIds,
  });

  final Collection collection;
  final BuiltList<LexicalItem> collectionLexicalItems;
  final BuiltList<double>? collectionRepetitionProgresses;
  final bool unspecifiedLexicalItemExists;
  final BuiltMap<String, LexicalItem> lexicalItemMap;
  final bool knownLexicalItemSelectionPermitted;
  final bool lexicalItemAdditionPermitted;
  final BuiltSet<String> permittedLexicalItemIds;

  @override
  List<Object?> get props {
    return [
      collection,
      collectionLexicalItems,
      collectionRepetitionProgresses,
      unspecifiedLexicalItemExists,
      lexicalItemMap,
      knownLexicalItemSelectionPermitted,
      lexicalItemAdditionPermitted,
      permittedLexicalItemIds,
    ];
  }
}
